package com.ihr360.payroll.response;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author richey
 * 员工薪资档案生效时段值对象
 */
public class StaffPayrollInfoPeriodResponse implements Serializable{
    private static final long serialVersionUID = -1046282609795178764L;

    /**
     * 生效时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date effectiveAt;
    /**
     * 失效时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date inValidAt;

    /**
     *　生效值
     */
    private String value;


    public StaffPayrollInfoPeriodResponse() {
    }

    public StaffPayrollInfoPeriodResponse(Date effectiveAt, Date inValidAt, String value) {
        this.effectiveAt = effectiveAt;
        this.inValidAt = inValidAt;
        this.value = value;
    }

    public Date getEffectiveAt() {
        return effectiveAt;
    }

    public void setEffectiveAt(Date effectiveAt) {
        this.effectiveAt = effectiveAt;
    }

    public Date getInValidAt() {
        return inValidAt;
    }

    public void setInValidAt(Date inValidAt) {
        this.inValidAt = inValidAt;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
